import { Bk_Discipline } from 'src/discipline/bk_discipline.entity';
import { Column, Entity, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Bk_Undergraduate {
    @PrimaryGeneratedColumn()
    id: number;

    // @Column()
    // school_code: number;
    
    @Column()
    major_category_code: number;

    @Column()
    school_name: string;

    // @Column()
    // discipline_code: number;

    @Column()
    discipline_name: string;

    @Column()
    student_num: number;

    @Column()
    score: string;

    @Column()
    year: number;
    
    @Column()//专业基础课考试科目
    exam:string;
    
    @Column()//可填报该招生专业的专业类别
    professional_category:string;

    // @ManyToOne(() => Bk_Discipline, junior_college => junior_college.undergraduate)
    // discipline: Bk_Discipline[];
}